Jump to content
WAPT Forum
Sign in to follow this  
Guest perrefe

corrupted uploaded file in WAPT7.1

Recommended Posts

Guest perrefe

Hi, I need to test a simple file upload, everything goes fine, but the uploaded file in the server becomes corrupted. If I upload the file through a browser manually, the file from the server side sizes 1846 kb and If it's uploaded by the WAPT 7.1 tests it sizes 1848

 

The server OS it's linux, WAPT is running over Windows XP. Look these command line result:

 

-- Manually uploaded --

du -sb ARCHIVE1.zip

1846

 

file ARCHIVE1.zip

ARCHIVE1.zip: GPG encrypted data

 

-- WAPT uploaded --

du -sb ARCHIVE1.zip

1848

 

file ARCHIVE1.zip

ARCHIVE1.zip: data

 

Notice that the file it's compressed and then encrypted with PGP.

 

Hope it can be resolved.

 

Thanks in advance.

 

 

Share this post


Link to post
Share on other sites
Guest perrefe

For my own purposes I recover the file on the server server side running this command:

 

dd ibs=2 skip=1 if=corrupted.file of=original.file

 

I'd found that fix after opening the corrupted file with an Hex editor and noticed that the first 2 bytes doesn't exists on the original file.

 

I hope that this information be usefull !

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...