FTP
Mock 350 File Action Pending Response
Requested file action pending further information. The server has accepted the first part of a two-step command and is waiting for the follow-up.
View full reference →1 HTTP Response
HTTP/1.1 350 File Action Pending Content-Type: application/json Date: Tue, 25 Feb 2026 12:00:00 GMT
2 Test with curl
curl -i https://httpbin.org/status/350
3 Return 350 File Action Pending in Your Framework
django
from django.http import HttpResponse
def my_view(request):
return HttpResponse(status=350) # File Action Pending
flask
from flask import Flask
app = Flask(__name__)
@app.route("/endpoint")
def my_endpoint():
return "", 350 # File Action Pending
fastapi
from fastapi import FastAPI
from fastapi.responses import Response
app = FastAPI()
@app.get("/endpoint")
def my_endpoint():
return Response(status_code=350) # File Action Pending
express.js
// Express.js
app.get('/endpoint', (req, res) => {
res.sendStatus(350); // File Action Pending
});
spring boot
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
@RestController
public class MyController {
@GetMapping("/endpoint")
public ResponseEntity<Void> myEndpoint() {
return ResponseEntity
.status(350) // File Action Pending
.build();
}
}
go net/http
package main
import "net/http"
func myHandler(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(350) // File Action Pending
}
ruby on rails
class MyController < ApplicationController
def my_action
head :file_action_pending
end
end
asp.net core
// ASP.NET Core Minimal API
app.MapGet("/endpoint", () =>
Results.StatusCode(350) // File Action Pending
);