1,105,534 Community Members

4Shared API Help

Member Avatar
joshl_1995
Posting Whiz in Training
281 posts since Jul 2012
Reputation Points: 3 [?]
Q&As Helped to Solve: 4 [?]
Skill Endorsements: 4 [?]
 
0
 

Hello Community,
I was wondering if i can get some help with the 4shared php api.
Here is a sample on how to upload a file.
But now i need to know how to delete a file, by the way i have never used an api.

Please Help...

Member Avatar
pritaeas
mod_pritaeas
11,315 posts since Jul 2006
Reputation Points: 1,420 [?]
Q&As Helped to Solve: 1,835 [?]
Skill Endorsements: 156 [?]
Moderator
Featured
Sponsor
 
0
 

According to the docs you'll need to call deleteFile with the login, password and file-id.

Member Avatar
joshl_1995
Posting Whiz in Training
281 posts since Jul 2012
Reputation Points: 3 [?]
Q&As Helped to Solve: 4 [?]
Skill Endorsements: 4 [?]
 
0
 

As i said i don't know how to work with api's so i don't know how to construct the script to do that.

Member Avatar
pritaeas
mod_pritaeas
11,315 posts since Jul 2006
Reputation Points: 1,420 [?]
Q&As Helped to Solve: 1,835 [?]
Skill Endorsements: 156 [?]
Moderator
Featured
Sponsor
 
0
 

Just use the sample, replace getFreeSpace with deleteFile.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: