I created policy for Checkpoint 5 Upload Control it is working properly in browser but when I tried upload using CURL I was able to upload on file.io
which was bypassed from Upload Block.
When I tried Uploading file on https://wetransfer.com via CURL it is redirecting me to the 404 Error page. I was able to access the same URL using Browser.
The page that CURL is Fetching - https://wetransfer.com/404
I am unable to find any solution for the same.
Unable to upload using CURL getting 404 Error on Wetransfer.com
-
- Posts: 15
- Joined: Thu Jun 03, 2021 9:42 am
-
- Posts: 15
- Joined: Thu Jun 03, 2021 9:42 am
Re: Unable to upload using CURL getting 404 Error on Wetransfer.com
I tried troubleshooting again and found out that in cmd if I didn't use the --proxy then I was not able to access. I tried running the same command with --proxy and it was successful.
So now it is blocking upload when I try using curl and if I put wetransfer.com in exception category then I am not getting the error. However, when I upload any file on file.io I get the output with 'success' but if I try the same on we transfer I am getting blank output.
After running the above command I got the following output :So now it is blocking upload when I try using curl and if I put wetransfer.com in exception category then I am not getting the error. However, when I upload any file on file.io I get the output with 'success' but if I try the same on we transfer I am getting blank output.
Re: Unable to upload using CURL getting 404 Error on Wetransfer.com
Hello Sakshi,
The Right way to analyze the Problem is to access the SafeSquid Native Logs.
https://docs.safesquid.com/wiki/Analyze ... Squid_Logs
Gather the details of this Particular Request and check why their was no Response Received
Also use
Secondly,
The WeTransfer Upload that your are trying via CURL is incorrect. Inorder to Validate First try to Upload to WeTransfer via same Curl without Proxy Option.( i.e. Without Proxy )
The Right way to analyze the Problem is to access the SafeSquid Native Logs.
https://docs.safesquid.com/wiki/Analyze ... Squid_Logs
Gather the details of this Particular Request and check why their was no Response Received
Also use
option in curl to see the Headers for better debugging.--verbose
Secondly,
The WeTransfer Upload that your are trying via CURL is incorrect. Inorder to Validate First try to Upload to WeTransfer via same Curl without Proxy Option.( i.e. Without Proxy )
Then via Proxy You are performing the Right Operation.If the Upload is Successful, then you are going on the Right Track.
When Performing Upload to file.io via Curl it works fine with & without Proxy.
-
- Posts: 15
- Joined: Thu Jun 03, 2021 9:42 am
Re: Unable to upload using CURL getting 404 Error on Wetransfer.com
Sir I tried uploading file using both -F and -T still I am getting the same 404 error. Even when I upload without any proxy I am getting this error.
I ran the --verbose with the command and here is the output :
I also found that wetransfer have a option to upload via terminal using it wtclient
I found this here - https://stackoverflow.com/a/61336112
I tried uploading using its terminal and the file uploaded successfully.
I am unable to find solution to the 404 error that I am facing in curl.
I ran the --verbose with the command and here is the output :
I also found that wetransfer have a option to upload via terminal using it wtclient
I found this here - https://stackoverflow.com/a/61336112
I tried uploading using its terminal and the file uploaded successfully.
I am unable to find solution to the 404 error that I am facing in curl.
Re: Unable to upload using CURL getting 404 Error on Wetransfer.com
Hello Sakshi,
The Curl Command is Incorrect and therefore you are getting 404 Error.
This is not How Upload Happens in WeTransfer it can work in others.
Try to use wtclient via Proxy
The Curl Command is Incorrect and therefore you are getting 404 Error.
This is not How Upload Happens in WeTransfer it can work in others.
Try to use wtclient via Proxy